package com.example.gybicycle.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(name = "登录信息")
public class LoginInfo {
    @Schema(description ="token")
    private  String  authorization;
    @Schema(description = "用户信息")
    public SysUser user;
    @Schema(description ="权限列表")
    private List<String> permissions;
    @Schema(description ="菜单列表")
    private List<SysMenu> menuList;
    @Schema(description ="菜单列表")
    private List<SysMenuData> treeMenuList;
    @Schema(description = "角色名称")
    private  String roleName;

}
